package common;

public class Move {

    /**
     * The piece that is played.
     */
    private Piece piece;
    /**
     * The side of the list of the already played pieces where the piece must be placed.
     * DominoState.
     */
    private Side side;    
       
    public Move(Side side, Piece piece) {
        this.piece = piece;
        this.side = side;
    }
    
    public Piece getPiece(){
        return piece;
    }

    public Side getSide() {
        return side;
    }    
    
}
